//
//  IHLabel.h
//  MyProject
//
//  Created by Pei on 16/6/21.
//  Copyright © 2016年 Xiaobo Pei. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface IHLabel : UILabel

- (void)autoAdjustHeight;
- (void)autoAdjustWidth;

//-(void)getSpaceLabelHeight:(NSString*)str withFont:(UIFont*)font withWidth:(CGFloat)width lineSpacing:(float)spacingF;


+ (IHLabel *)commonLabel:(NSString *)text font:(UIFont *)font;
+ (IHLabel *)commonLabel:(NSString *)text font:(UIFont *)font textColor:(UIColor *)textColor;
+ (IHLabel *)whiteLabel:(NSString *)text font:(UIFont *)font;

@end
